<template>
	<view :style="style">
		<slot />
	</view>
</template>

<script>
	export default {
		name:"demo-desc",
		props: {
			size: {
				type: [String,Number],
				default: 13
			},
			color: {
				type: String,
				default: '#666666'
			},
			margin: {
				type: [String,Number],
				default: '0'
			}
		},
		data() {
			return {
				
			};
		},
		computed: {
			style() {
				return {
					fontSize: this.$fu.addUnit(this.size),
					color: this.color,
					margin: this.margin
				}
			}
		}
	}
</script>

<style>

</style>